import axios from 'axios'

export function getBannerList () {
  const url = 'data.json'

  const data = Object.assign({}, {
    format: 'json'
  })

  return axios.get(url, {
    params: data
  }).then((res) => {
    return Promise.resolve(res.data)
  })
}
